--Converted with ttyyuu12345's model to script plugin v4 function sandbox(var,func) local env = getfenv(func) local newenv = setmetatable({},{ __index = function(self,k) if k=="script" then return var else return env[k] end end, }) setfenv(func,newenv) return func end cors = {} mas = Instance.new("Model",game:GetService("Lighting")) Tool0 = Instance.new("Tool") Part1 = Instance.new("Part") SpecialMesh2 = Instance.new("SpecialMesh") LocalScript3 = Instance.new("LocalScript") Script4 = Instance.new("Script") LocalScript5 = Instance.new("LocalScript") Animation6 = Instance.new("Animation") Animation7 = Instance.new("Animation") Camera8 = Instance.new("Camera") Tool0.Name = "Scifi Axe" Tool0.TextureId = "http://www.roblox.com/asset/?id=73700316" Tool0.Grip = CFrame.new(0, -0.200000003, -1.89999998, 0.89442718, 0, 0.44721359, 0.44721359, 0, -0.89442718, -0, 1, -0) Tool0.GripForward = Vector3.new(-0.4472135901451111, 0.8944271802902222, 0) Tool0.GripPos = Vector3.new(0, -0.20000000298023224, -1.899999976158142) Tool0.GripRight = Vector3.new(0.8944271802902222, 0.4472135901451111, -0) Tool0.GripUp = Vector3.new(0, 0, 1) Part1.Name = "Handle" Part1.CFrame = CFrame.new(-2.89614916, 4.18656015, -47.2939453, -0.719852269, -0.693775952, -0.0220758133, -0.0128201442, -0.0185099021, 0.999746442, -0.694008946, 0.719952941, 0.00443014037) Part1.Orientation = Vector3.new(-88.70999908447266, -78.6500015258789, -145.2899932861328) Part1.Position = Vector3.new(-2.896149158477783, 4.186560153961182, -47.2939453125) Part1.Rotation = Vector3.new(-89.75, -1.2599999904632568, 136.05999755859375) Part1.Color = Color3.new(0, 0.560784, 0.611765) Part1.Size = Vector3.new(0.44999992847442627, 2.2700002193450928, 5.419997692108154) Part1.BrickColor = BrickColor.new("Bright bluish green") Part1.Locked = true Part1.brickColor = BrickColor.new("Bright bluish green") Part1.FormFactor = Enum.FormFactor.Custom Part1.formFactor = Enum.FormFactor.Custom Tool0.Parent = owner.Character Part1.Parent = Tool0 SpecialMesh2.Parent = Part1 SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=73700210" SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=73700158" SpecialMesh2.MeshType = Enum.MeshType.FileMesh LocalScript3.Name = "Local Gui" LocalScript3.Parent = Tool0 table.insert(cors,sandbox(LocalScript3,function() Tool = script.Parent local stillEquipped = false function onEquippedLocal(mouse) stillEquipped = true if mouse == nil then print("Mouse not found") return end while stillEquipped do mouse.Icon = "rbxasset://textures\\GunCursor.png" while Tool.Enabled and stillEquipped do wait(0.01) end mouse.Icon = "rbxasset://textures\\GunWaitCursor.png" while not Tool.Enabled and stillEquipped do wait(0.01) end end end function onUnequippedLocal() stillEquipped = false end Tool.Equipped:connect(onEquippedLocal) Tool.Unequipped:connect(onUnequippedLocal) end)) Script4.Name = "AxeScript" Script4.Parent = Tool0 table.insert(cors,sandbox(Script4,function() local Tool = script.Parent local Axe = Tool.Handle Tool.Enabled = true local damage = 12 local staticDamage = 12 local swingDamage = 18 local torsoDamage = 40 local debris = game:GetService("Debris") local axeSound = Instance.new("Sound") axeSound.SoundId = "rbxasset://sounds\\swordaxe.wav" axeSound.Parent = sword axeSound.Volume = .7 local random = Random.new() local vCharacter function blow(hit) humanoid = hit vCharacter = Tool.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") vPlayer = game.Players:GetPlayerFromCharacter(vCharacter) if humanoid ~= nil and myHumanoid ~= nil and humanoid ~= myHumanoid then rightArm = vCharacter:FindFirstChild("Right Arm") if rightArm ~= nil then rightGrip = rightArm:FindFirstChild("RightGrip") if rightGrip ~= nil and (rightGrip.Part0 == Axe or rightGrip.Part1 == Axe) then tagHumanoid(humanoid, vPlayer) if hit.Name == "Torso" then damage = torsoDamage end if hit then coroutine.resume(coroutine.create(function() if hit.Name ~= "Base" then local fire = Instance.new("Fire") fire.Color = Color3.new(0, 0, 0) fire.SecondaryColor = Color3.new(178/255, 178/255, 178/255) fire.Parent = hit hit.Anchored = false debris:AddItem(fire, 5) local prepare = Instance.new("Sound", hit) prepare.SoundId = "http://www.roblox.com/asset/?id=9410072371" prepare.Volume = 3 prepare:Play() wait(2) prepare:Stop() local e = Instance.new("Explosion") e.BlastRadius = 2 e.BlastPressure = 1000000 e.Position = hit.Position e.Parent = game.Workspace local HitSound = Instance.new("Sound", hit) HitSound.SoundId = "http://www.roblox.com/asset/?id=8304134593" HitSound.Volume = 1 HitSound.Pitch = random:NextNumber(0.9, 1.1) HitSound:Play() debris:AddItem(e, 1) wait(3) HitSound:Destroy() else print("base sadly") end end)) end damage = staticDamage wait(1.0) untagHumanoid(humanoid) end end end end function tagHumanoid(humanoid, player) if humanoid ~= nil then creatorTag = Instance.new("ObjectValue") creatorTag.Name = "creator" creatorTag.Value = player creatorTag.Parent = humanoid end end function untagHumanoid(humanoid) if humanoid ~= nil then tag = humanoid:FindFirstChild("creator") if tag ~= nil then tag:Remove() end end end function onActivated() if Tool.Enabled == false then return end Tool.Enabled = false vCharacter = Tool.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") if myHumanoid == nil then return end --axeSound = Tool:FindFirstChild("AxeSound") damage = swingDamage if axeSound then axeSound:Play() end wait(2.0) Tool.Enabled = true end function onEquipped() end function onUnequipped() if axeSound then axeSound:Stop() end end Tool.Activated:connect(onActivated) Tool.Equipped:connect(onEquipped) Tool.Unequipped:connect(onUnequipped) Axe.Touched:connect(blow) end)) LocalScript5.Name = "AnimateScript" LocalScript5.Parent = Tool0 table.insert(cors,sandbox(LocalScript5,function() local Tool = script.Parent local Axe = Tool.Handle local slashAnim local twoHandAnim local vCharacter function onActivated() vCharacter = Tool.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") if myHumanoid == nil then return end slashAnim = myHumanoid:LoadAnimation(Tool.AxeSlash) local slashsound = Instance.new("Sound", Part1) slashsound.SoundId = "http://www.roblox.com/asset/?id=5068415872" slashsound.Volume = 3 slashsound:Play() if slashAnim then slashAnim:Play() end end function onEquipped() vCharacter = Tool.Parent myHumanoid = vCharacter:FindFirstChild("Humanoid") if myHumanoid then twoHandAnim = myHumanoid:LoadAnimation(Tool.TwoHandAnim) if twoHandAnim then twoHandAnim:Play() end end local Sound6 = Instance.new("Sound") Sound6.Parent = Part1 Sound6.SoundId = "http://www.roblox.com/asset/?id=291256829" Sound6.Volume = 3 Sound6:Play() wait(1) Sound6:Destroy() end function onUnequipped() if slashAnim then slashAnim:Stop() end if twoHandAnim then twoHandAnim:Stop() end local Sound7 = Instance.new("Sound") Sound7.Parent = Part1 Sound7.SoundId = "http://www.roblox.com/asset/?id=769464514" Sound7.Volume = 3 Sound7:Play() wait(1) Sound7:Destroy() end Tool.Activated:connect(onActivated) Tool.Equipped:connect(onEquipped) Tool.Unequipped:connect(onUnequipped) end)) Animation6.Name = "TwoHandAnim" Animation6.Parent = Tool0 Animation6.AnimationId = "http://www.roblox.com/Asset?ID=48138189" Animation7.Name = "AxeSlash" Animation7.Parent = Tool0 Animation7.AnimationId = "http://www.roblox.com/Asset?ID=54584713" Camera8.Name = "ThumbnailCamera" Camera8.Parent = Tool0 Camera8.CFrame = CFrame.new(1.12354946, 5.73539782, -42.8611755, 0.719350934, -0.158626676, 0.676292658, -0, 0.973577678, 0.22835587, -0.694646835, -0.164268002, 0.700344026) Camera8.CoordinateFrame = CFrame.new(1.12354946, 5.73539782, -42.8611755, 0.719350934, -0.158626676, 0.676292658, -0, 0.973577678, 0.22835587, -0.694646835, -0.164268002, 0.700344026) Camera8.Focus = CFrame.new(-12.4023027, 1.16828108, -56.8680534, 1, 0, 0, 0, 1, 0, 0, 0, 1) Camera8.focus = CFrame.new(-12.4023027, 1.16828108, -56.8680534, 1, 0, 0, 0, 1, 0, 0, 0, 1) for i,v in pairs(mas:GetChildren()) do v.Parent = workspace pcall(function() v:MakeJoints() end) end mas:Destroy() for i,v in pairs(cors) do spawn(function() pcall(v) end) end